﻿using System;
using System.Xml.Serialization;
using mmCore.Common;

namespace mmCore.Classes
{
    [Serializable]
    public class Episode: NotifyPropertyChangedBase
    {
        #region MEMBERS
        [XmlIgnore]
        private int _mEpisodeNo;
        [XmlIgnore]
        private string _mTitle;
        [XmlIgnore]
        private int _mSeason;
        [XmlIgnore]
        private DateTime _mAirDate;
        [XmlIgnore]
        private bool _mSeen;
        #endregion MEMBERS

        public int EpisodeNo { set { _mEpisodeNo = value; RaisePropertyChanged(() => EpisodeNo); } get { return _mEpisodeNo; } }
        public string Title { set { _mTitle = value; RaisePropertyChanged(() => Title); } get { return _mTitle; } }
        public int Season { set { _mSeason = value; RaisePropertyChanged(() => Season); } get { return _mSeason; } }
        public DateTime AirDate { set { _mAirDate = value; RaisePropertyChanged(() => AirDate); } get { return _mAirDate; } }
        public bool Seen { set { _mSeen = value; RaisePropertyChanged(() => Seen); } get { return _mSeen;  } }
    }
}
